
import request from "@/axios"

export function login(params){
    return request.post('/web/user/login',params);
}

export function useCredit(params){
    return request.get('/web/user/useCredit',params);
}


export function list(params){
    return request.post('/web/user/list',params);
}

export function create(params){
    return request.post('/web/user/create',params);
}

export function change(params){
    return request.post('/web/user/change',params);
}

export function remove(params){
    return request.post('/web/user/delete',params);
}

export function disable(params){
    return request.post('/web/user/disable',params);
}

export function getOne(params){
    return request.post('/web/user/one',params);
}